package Test04;

public class StudentTest {
    public static void main(String[] args) {
        //创建对象
        //调用的空参构造
        Student s = new Student();

        Student s2 = new Student("zhangsan", 23);

        System.out.println(s2.getName());
        System.out.println(s2.getAge());
    }
}
